package com.cskaoyan.service;

import com.cskaoyan.bean.CatAndBrandData;
import com.cskaoyan.bean.GoodsParameter;
import com.cskaoyan.bean.PageData;
import com.cskaoyan.bean.vo.BaseRespVo;
import com.cskaoyan.bean.vo.GoodsCreateVo;
import com.cskaoyan.model.MarketGoods;
import org.apache.ibatis.session.SqlSession;

public interface GoodsService {
    void create(SqlSession sqlSession, MarketGoods goods);
    PageData goodsList(GoodsParameter goodsParameter);

    BaseRespVo updateGoods(GoodsCreateVo goodsCreateVo);

    BaseRespVo detailGoods(Integer id);

    CatAndBrandData catAndBrand();

    BaseRespVo deleteGoods(MarketGoods marketGoodes);
}
